﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

using SurvivalStrategy.WorldData.Colliders;

namespace SurvivalStrategy.WorldData
{
    public class ElementType
    {
        public int ID { get; internal set; }                    //id typu elementu
        public string Name  { get; internal set; }              //nazwa danego typu elemetu
        public Vector3 Size  { get; internal set; }             //wielkosc elementu
        public bool Collidable { get; internal set; }           //czy obiekt podlega kolizji
        public Collider CollideType { get; internal set; }      //typ collidera elementu
        public int TextureID { get; internal set; }             //typ tekstury danego elementu

        public ElementType(int ID, string name, int textureID, Vector3 size, bool collidable, Collider collider)
        {
            this.ID = ID;
            this.Name = name;
            this.Size = size;
            this.Collidable = collidable;
            this.CollideType = collider;
            this.TextureID = textureID;
        }
    }
}
